<h3>Add Entry</h3> 
<?php if($this->isInvalid): ?>
    <p class="error">Some problems were detected with the submitted form.</p>
<?php endif; ?>
<?php if($this->isSaved): ?>
    <p class="success">New entry has been saved.</p>
<?php else: ?>
    <?php echo $this->entryForm ?>
<?php endif; ?>